<!DOCTYPE html>
<html lang="en">
  <head>
    <title>LocalStorage</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" href="../styles.css" />
  </head>
  <body>
    <main>
      <a href="../index.html">../</a>
      <div class="container">
        <h2>Window.open</h2>
        <div id="page-id" class="page-id"></div>
        <p>
          Open other windows:
          <button id="open-button">Open other Windows</button>
        </p>
        <input id="input" placeholder="input message content" />
        <button id="button">Send Message</button>
        <div id="message-wrapper">
          <h3>Received Message:</h3>
        </div>
      </div>
    </main>
    <script type="module" src="WindowOpen.js"></script>
  </body>
</html>
